﻿using VisualWip.Core;

namespace VisualWip.Util
{
    public class StaticFileNameSelector : IPathSelector
    {
        private readonly SettingsPath _settingsPath;

        public StaticFileNameSelector(SettingsPath settingsPath)
        {
            _settingsPath = settingsPath;
        }

        #region ISettingsPathSelector Members

        public PathSelectorResult OpenSelector()
        {
            return new PathSelectorResult(true, _settingsPath);
        }

        public PathSelectorResult SaveSelector()
        {
            return new PathSelectorResult(true, _settingsPath);
        }

        public string DefaultExtension { get; set; }
        public string Filter { get; set; }
        public string DefaultFileName { get; set; }

        #endregion
    }
}